﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using UI.ParentForm;

namespace UI.BuyManagement
{
    public partial class FrmBuy3a00XPrint : BasePrint
    {
        public FrmBuy3a00XPrint()
        {
            InitializeComponent();

            this.Text = "采购单打印";
        }

        protected override void SetParam()
        {
            this.ReportType = "";
        }

        protected override DataTable SetReportSummaryData()
        {
            return UI.Lib.Factory.CommonHelper.Entity.ExecFun("printbuydocnoXsm", new KeyValuePair<string, object>("listid", base.GetParamByKey("listid")));
        }

        //返回明细数据
        protected override DataTable SetReportDetailData()
        {
            return UI.Lib.Factory.CommonHelper.Entity.ExecFun("printbuydocXno", new KeyValuePair<string, object>("listid", base.GetParamByKey("listid")));
        }
    }
}
